Reyleigh-Schrodinger perturbation methods and adiabatic switching